package com.oracle.application.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author kongyulong
 * @since 2021-07-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Orders对象", description="")
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "编号")
    private String ordersn;

    @ApiModelProperty(value = "总价")
    private BigDecimal totalprice;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "地区")
    private String area;

    @ApiModelProperty(value = "邮编")
    private String zipcode;

    @ApiModelProperty(value = "会员")
    private Integer member;

    @ApiModelProperty(value = "收件人")
    private String consignee;

    @ApiModelProperty(value = "订单状态 0-未确认, 1-已确认, 2-已完成 ,3-已退货")
    private Integer orderstatus;

    @ApiModelProperty(value = "支付状态0 -未支付,1-已支付")
    private Integer paystatus;

    @ApiModelProperty(value = "购买方式")
    private String paymethod;

    private LocalDateTime createdate;

    private LocalDateTime modifydate;

    private LocalDateTime expiredate;


}
